/* OpenDomo CGI iPhone/iPod style
#desc:Estilo simplificado de la interfaz para iPhone y iPod
#
# Esta hoja de estilo ha sido desarrollada especialmente para la versión de
# Safari para dispositivos móviles.
 */

body {
	background: #ddd!important; 
	color: #222;            
	font-family:Helvetica, Arial, Verdana, sans-serif;
	font-size: 14px;
}
#header {
	display:block;
	margin-left: auto;
	margin-right: auto;
	padding:0px;
	padding-left: 10px;
	width: 90%;
	z-index: -1;
}

#categ {
	display:table-row;
}
/* Categorías */
#cat-control a{
	background: #999 url(/images/control.png) no-repeat scroll center center;
	width: 64px;
	height: 48px;
	display: block;
	text-indent: -1000px;
}
#cat-map a{
	background: #999 url(/images/planell.png) no-repeat scroll center center;
	width: 64px;
	height: 48px;
	display: block;
	text-indent: -1000px;
}
#cat-config a{
	background: #999 url(/images/configuracio.png) no-repeat scroll center center;
	width: 64px;
	height: 48px;
	display: block;
	text-indent: -1000px;
}
#cat-tools a{
	background: #999 url(/images/eines.png) no-repeat scroll center center;
	width: 64px;
	height: 48px;
	display: block;
	text-indent: -1000px;
}
#categ .tab, #categ .selected {
	display: table-cell;
}
#categ .selected a {
	background-color: white;
	border: 1px solid gray;
	border-bottom: 1px solid white;
	color: #222;
/*	display: block;
	font-size: 20px;
	font-weight: bold;
	padding: 10px 0;
	text-align: center;
	text-decoration: none;
	text-shadow: 0px 1px 0px #fff;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#999)); */
}
#main {
	background: transparent;
	background-color: white;
	border: 1px solid #999999;
	margin-left: auto;
	margin-right: auto;
	margin-top:-5px;
	width: 90%;
	-webkit-border-radius: 8px; 
}

p.comments {
	background-color: #ddd;
	display: block;
	width:100%;	
}

/* Ocultamos el marco del frameset, leyenda y el checkbox */
.listbox li label input[type=checkbox] {
	display:none;
}
fieldset {
	border: 0;
	background: transparent;
	margin: 0;
	padding: 0;
}
legend {
	display:none;
}
form {
/*	background: #ddd!important; */
	border: 0;
}
.listbox li p {
	display: none;
}
.listbox .imgframe {
	display: none;
}


/* listbox no se mostrará como lista */
.listbox , .tabform {
    margin: 10px;
    padding: 0;
	list-style: none;
}

.listbox li label a{
	display: block;
	color: #222222;
	font-size: 17px;
    padding: 12px 10px;
	margin-bottom: -1px;
	text-decoration: none;
}

.listbox li {
	border-bottom: 1px solid gray;
}
.listbox li:last-child {
	border-bottom: none;
}

/* Formularios */
.tabform li label {
	display: table-cell;
	height: 20px;
	color: #222222;
	font-size: 17px;
    padding: 12px 10px;
	margin-bottom: -1px;
	text-decoration: none;
}
.tabform li p {
	display: table-cell;
}
.tooltip 
{
	display:none;
}
.on .sw-on{
	display:none;
}
.off .sw-off{
	display:none;
}
.on .sw-off{
	background:transparent url('/images/on.png') center center no-repeat;	
	display:block;
	width: 94px;
	height: 27px;
	text-indent: -1000px;
}
.off .sw-on{
	background:transparent url('/images/off.png') center center no-repeat;
	display:block;
	width: 94px;
	height: 27px;
	text-indent: -1000px;
}

.slider{
	background:transparent url('/images/bar.png') center center repeat-x;
	width: 200px!important;
}
.slider .OFF{
	display:inline-block;
	border:0px;
	margin:0px;
	width: 20px;
	color:transparent;
}
.slider .ON {
    background: transparent url(/images/slider.png) 0 0 no-repeat;
	text-indent: -1000px;
	width: 20px!important;
}


/* Checkbox al estilo iPhone, para cuando pueda usarse 
input[type="checkbox"]:checked {
    left: 0px; 
}
input[type="checkbox"], .off .unpressed {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    margin: 0;
    -webkit-border-radius: 5px;
    background: #fff url(on_off.png) 0 0 no-repeat;
    height: 27px;
    overflow: hidden;
    width: 149px;
    border: 0;
    -webkit-appearance: textarea;
    background-color: transparent;
    -webkit-transition: left .15s;
    position: absolute;
    top: 0;
    left: -55px; 
}
*/ 

.pressed {
	border:1px inset!important;
	color: white;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ccf), to(#22f));
}
.toolbar {
	width: 100%;
	border: 1px solid #999;
	border-radius: 6px;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#999));
}


/* Vamos a crear algunas excepciones para el tratamiento de vídeo */
.image label {
}
.image .imgframe {
	display: block!important;	
	text-align:center;
	margin-bottom: 5px;
}
.image .imgframe img {
	display: inline!important;
	width: 280px;
	height: 200px;
	text-align: center;
	border: 1px solid black;
}
/* ... y para la visualización de imagenes */
.listbox .image{
	height: 240px;
	margin: 5px;
}
.listbox .image a{
	margin: 2px;
	padding: 2px;
}


/* Para optimizar espacio, ocultamos algunos elementos secundarios */
.debug {
	display: none;
	border: 1px solid gray;
	margin: 5px; 
	background: #DFDFDF;
	overflow: scroll;
}
#footer {
	float: bottom;
	border-top: 1px solid #666;
	display: block;
	padding: 10px;
	text-align: left;
} 
#footer a {
	color: #ddd;
	text-decoration: none;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#999), to(#000));
	border:1px solid black;
	padding: 3px;
	-webkit-border-radius: 6px;
} 
/*
.root a{
	position: absolute;
	top: 10px;
	left: 5px;
	color: #ddd;
	text-decoration: none;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#999), to(#000));
	border:1px solid black;
	padding: 3px;
	-webkit-border-radius: 6px;
	z-index:1;
}
.root a:active {
	display:none;
}
.root a:after {
	content: "Menu";
}*/
.applicationTitle h1, #main h1{
	background-color: #ccc;
	border-bottom: 1px solid #666;
	color: black;
	display: block;
	font-size: 20px;
	font-weight: bold;
	padding: 10px 0;
	text-align: center;
	text-decoration: none;
	text-shadow: 0px 1px 0px #fff;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#999));
	z-index:2;
}

#nkb_btn{
	float:right;
}
#numpad {
	width: 100%;
	margin: 5px;
	text-align: center;
}
.nkey {
	margin: 3px;
	width: 70px;
	height: 40px;
	font-size: 110%;
}
#login{
	display:inline;
	border: 1px solid #666;
	-webkit-border-radius: 8px;	
	background-color: white;
    margin: 10px;
	padding: 0px;
}
input[type=text], input[type=password], input[type=readonly] {
	border: 1pt solid black;
	margin: 2px;
	padding: 5px;
}
#footer{
	font-size:x-small;
}
